import {combineReducers, configureStore} from '@reduxjs/toolkit';
import theme from './theme';


const reducer = combineReducers({theme});


const store = configureStore({
    reducer: reducer,
    middleware: getDefaultMiddleware => getDefaultMiddleware({serializableCheck: false})
});


export type RootState = ReturnType<typeof store.getState>
export default store;

